<!--舆情首页卡片组件-->
<script setup>
defineProps({
  title: String
})
</script>

<template>
  <div class="px-12px">
    <div class="flex justify-between items-center">
      <h3 class="text-16px font-600 leading-22px c-#1E2226">{{ title }}</h3>
      <div><slot name="sub"></slot></div>
    </div>
    <div><slot></slot></div>
  </div>
</template>

<style scoped lang="less">
div{
  box-sizing: border-box;
}
</style>
